package top.bigdata.model.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@Schema(description = "视频信息")
public class Video {
    @Schema(description = "视频id", example = "BV1K4411H7z7")
    private String bvid;

    @Schema(description = "分类id", example = "1")
    private int tid;

    @Schema(description = "标题", example = "【B站】B站新番")
    private String title;

    @Schema(description = "发布时间（时间戳）", example = "1649000000")
    private long pubdate;

    @Schema(description = "时长（秒）", example = "3600")
    private int duration;

    @Schema(description = "封面 URL", example = "https://i0.hdslb.com/bfs/archive/d7c5c0c0c")
    private String pic;

    @Schema(description = "作者id", example = "1" )
    private long mid;

    @Schema(description = "播放量", example = "1000000")
    private long view;

    @Schema(description = "弹幕数", example = "100000")
    private int danmaku;

    @Schema(description = "评论条数", example = "100000")
    private int reply;

    @Schema(description = "点赞数", example = "100000")
    private int like;

    @Schema(description = "硬币数", example = "100000")
    private int coin;

    @Schema(description = "收藏数", example = "100000")
    private int favorite;

    @Schema(description = "分享数", example = "100000")
    private int share;

    @Schema(description = "标签", example = "[\"拜年祭\", \"官方\", \"2025\"]")
    private List<String> tag;
}
